﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Domain
{
    public class SpecialOffer
    {
        public int SpecialOfferId { get; set; }
        
        [Required]
        [StringLength(100)]
        public string Subject { get; set; }

        [Required]
        [StringLength(1000)]
        public string ContentHtml { get; set; }

        [Required]
        [StringLength(2)]
        public string LangCode { get; set; }
        
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public DateTime CreateDate { get; set; }

        public bool IsApproved { get; set; }

        public string EndDateString { get; set; }


    }
}
